package com.example.myapplication;

import android.app.Application;

public class App extends Application {
    private int wWidth;
    private int wHeight;

    @Override
    public void onCreate() {
        wWidth = this.getResources().getDisplayMetrics().widthPixels;
        wHeight = this.getResources().getDisplayMetrics().heightPixels;
        super.onCreate();
    }

    public int getwWidth() {
        return wWidth;
    }


    public int getwHeight() {
        return wHeight;
    }
}
